package com.ruoyi.exam.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

import java.io.Serializable;
import java.time.LocalDateTime;
import java.util.Date;
import java.util.List;

/**
 * <p>
 * 试卷表
 * </p>
 *
 * @author FSD
 * @since 2024-02-18
 */
@Getter
@Setter
@TableName("t_exam_paper")
@ApiModel(value = "ExamPaper对象", description = "试卷表")
public class ExamPaper implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("主键id")
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty("试卷名称")
    private String name;

    @ApiModelProperty("学科")
    private Integer subjectId;

    @ApiModelProperty("试卷类型( 0.固定试卷 1.时段试卷 2.任务试卷 )")
    private Integer paperType;

    @ApiModelProperty("年级")
    private Integer gradeLevel;

    @ApiModelProperty("试卷总分(千分制)")
    private Integer score;

    @ApiModelProperty("题目数量")
    private Integer questionCount;

    @ApiModelProperty("建议时长(分钟)")
    private Integer suggestTime;

    @ApiModelProperty("时段试卷 开始时间")
    private Date limitStartTime;

    @ApiModelProperty("时段试卷 结束时间")
    private Date limitEndTime;

    @ApiModelProperty("试卷题 内容为JSON,数组类型")
    private Integer frameTextContentId;

    @ApiModelProperty("创建人")
    private Integer createUser;

    @ApiModelProperty("创建时间")
    private Date createTime;

    @ApiModelProperty("是否删除 0否 1是")
    private Boolean deleted;

    @ApiModelProperty("试卷考试id")
    private Integer taskExamId;


}
